package com.xbongbong.pro.lowcodeconfig.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import com.xbongbong.pro.actionsetting.pojo.LowCodeActionSettingPojo;
import com.xbongbong.pro.custombutton.pojo.CustomButtonPojo;
import com.xbongbong.pro.formservice.pojo.FormServicePojo;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author 吴峰
 * @date 2021/03/09 17:16
 */
@Getter
@Setter
@ToString
public class LowCodeConfigSaveDTO extends BaseDTO {


    private static final long serialVersionUID = -6270795201606338299L;

    @NotNull(message = "{dto.msg.formId.NotNull}")
    private Long formId;

    @NotNull(message = "{saas标识不能为空}")
    private Integer saasMark;

    @NotNull(message = "{业务类型不能为空}")
    private Integer businessType;

    /**
     * 表单服务信息
     */
    private List<FormServicePojo> formServiceList;
    /**
     * 自定义按钮列表
     */
    private List<CustomButtonPojo> customButtonList;
    /**
     * 动作设置
     */
    private List<LowCodeActionSettingPojo> lowCodeActionSettingList;
}
